<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title></title>
</head>

<body>
    <script type="module">
            //1.通用的导入方式
                // import * as m1 from "./m1.js";
                // import * as m2 from "./m2.js";
                // import * as m3 from "./m3.js";
            //2.解构赋值形式
                // import {school,fn} from "./m1.js";   //分别暴露
                // import {school ,fn} from "./m2.js";  //统一暴露  
                // import {default as m3} from "./m3.js";   //默认暴露
                // console.log(school);
                // console.log(school2);
                // console.log(m3);

            //3.简便形式 ，只适用于default暴露
                // import m3 from "./m3.js";
                // console.log(m3);
    </script>
</body>

</html>